package com.charon.module.sys.entity;

import java.util.List;

import com.charon.common.entity.BaseEntity;

/**
 * @Description: 用户角色信息
 * @author:charon [248135724@qq.com]
 * @date:   2018年12月18日 上午12:30:03     
 * @verdion V1.0
 */
public class UserRoleEntity extends BaseEntity{
	
	private static final long serialVersionUID = 2962112463842539297L;

	private Integer id;
	
	private String role;
	
	private List<UserPermissionEntity> permission;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public List<UserPermissionEntity> getPermission() {
		return permission;
	}

	public void setPermission(List<UserPermissionEntity> permission) {
		this.permission = permission;
	}

	@Override
	public String toString() {
		return "UserRoleEntity [id=" + id + ", role=" + role + ", permission=" + permission + "]";
	}

}
